﻿using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IRepository
{
    public interface IUserInfoRepository
    {
        UserInfo Login(string loginValue, string password);

        bool IsUserExist(string userName);

        void UpdatePassword(string userNo, string password);

        IList<IDictionary<string, string>> ListAgent();

        UserInfo GetUser(string userName);
    }
}
